package org.admanager.piadladmapping.plugin.diagram.part;

import java.util.Collection;
import java.util.Collections;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;

import org.admanager.piadladmanagement.plugin.piadladmanagement.Architecture;
import org.admanager.piadladmanagement.plugin.piadladmanagement.CBAPattern;
import org.admanager.piadladmanagement.plugin.piadladmanagement.Component;
import org.admanager.piadladmanagement.plugin.piadladmanagement.ComponentMapping;
import org.admanager.piadladmanagement.plugin.piadladmanagement.ComponentPortMapping;
import org.admanager.piadladmanagement.plugin.piadladmanagement.Connector;
import org.admanager.piadladmanagement.plugin.piadladmanagement.ConnectorMapping;
import org.admanager.piadladmanagement.plugin.piadladmanagement.ConnectorRoleMapping;
import org.admanager.piadladmanagement.plugin.piadladmanagement.MappingRoot;
import org.admanager.piadladmanagement.plugin.piadladmanagement.PComponent;
import org.admanager.piadladmanagement.plugin.piadladmanagement.PComponentPort;
import org.admanager.piadladmanagement.plugin.piadladmanagement.PConnector;
import org.admanager.piadladmanagement.plugin.piadladmanagement.PConnectorRole;
import org.admanager.piadladmanagement.plugin.piadladmanagement.PConstraint;
import org.admanager.piadladmanagement.plugin.piadladmanagement.PElement;
import org.admanager.piadladmanagement.plugin.piadladmanagement.PMultiplicity;
import org.admanager.piadladmanagement.plugin.piadladmanagement.PRole;
import org.admanager.piadladmanagement.plugin.piadladmanagement.PiadladmanagementPackage;
import org.admanager.piadladmanagement.plugin.piadladmanagement.Port;
import org.admanager.piadladmanagement.plugin.piadladmanagement.Relay;
import org.admanager.piadladmanagement.plugin.piadladmanagement.SimpleElement;
import org.admanager.piadladmanagement.plugin.piadladmanagement.Unification;
import org.admanager.piadladmapping.plugin.diagram.edit.parts.Architecture2EditPart;
import org.admanager.piadladmapping.plugin.diagram.edit.parts.ArchitectureArchitectureCompartment2EditPart;
import org.admanager.piadladmapping.plugin.diagram.edit.parts.ArchitectureArchitectureCompartmentEditPart;
import org.admanager.piadladmapping.plugin.diagram.edit.parts.ArchitectureEditPart;
import org.admanager.piadladmapping.plugin.diagram.edit.parts.CBAPatternCBAPatternCompartmentEditPart;
import org.admanager.piadladmapping.plugin.diagram.edit.parts.CBAPatternEditPart;
import org.admanager.piadladmapping.plugin.diagram.edit.parts.ComponentComponentCompartmentEditPart;
import org.admanager.piadladmapping.plugin.diagram.edit.parts.ComponentEditPart;
import org.admanager.piadladmapping.plugin.diagram.edit.parts.ComponentMappingEditPart;
import org.admanager.piadladmapping.plugin.diagram.edit.parts.ComponentMappingSourceEditPart;
import org.admanager.piadladmapping.plugin.diagram.edit.parts.ComponentMappingTargetEditPart;
import org.admanager.piadladmapping.plugin.diagram.edit.parts.ComponentPortMappingEditPart;
import org.admanager.piadladmapping.plugin.diagram.edit.parts.ComponentPortMappingSourceEditPart;
import org.admanager.piadladmapping.plugin.diagram.edit.parts.ComponentPortMappingTargetEditPart;
import org.admanager.piadladmapping.plugin.diagram.edit.parts.ConnectorConnectorCompartmentEditPart;
import org.admanager.piadladmapping.plugin.diagram.edit.parts.ConnectorEditPart;
import org.admanager.piadladmapping.plugin.diagram.edit.parts.ConnectorMappingEditPart;
import org.admanager.piadladmapping.plugin.diagram.edit.parts.ConnectorMappingSourceEditPart;
import org.admanager.piadladmapping.plugin.diagram.edit.parts.ConnectorMappingTargetEditPart;
import org.admanager.piadladmapping.plugin.diagram.edit.parts.ConnectorRoleMappingEditPart;
import org.admanager.piadladmapping.plugin.diagram.edit.parts.ConnectorRoleMappingSourceEditPart;
import org.admanager.piadladmapping.plugin.diagram.edit.parts.ConnectorRoleMappingTargetEditPart;
import org.admanager.piadladmapping.plugin.diagram.edit.parts.MappingRootEditPart;
import org.admanager.piadladmapping.plugin.diagram.edit.parts.PComponent2EditPart;
import org.admanager.piadladmapping.plugin.diagram.edit.parts.PComponentEditPart;
import org.admanager.piadladmapping.plugin.diagram.edit.parts.PComponentPComponentCompartment2EditPart;
import org.admanager.piadladmapping.plugin.diagram.edit.parts.PComponentPComponentCompartmentEditPart;
import org.admanager.piadladmapping.plugin.diagram.edit.parts.PComponentPort2EditPart;
import org.admanager.piadladmapping.plugin.diagram.edit.parts.PComponentPortEditPart;
import org.admanager.piadladmapping.plugin.diagram.edit.parts.PConnector2EditPart;
import org.admanager.piadladmapping.plugin.diagram.edit.parts.PConnectorEditPart;
import org.admanager.piadladmapping.plugin.diagram.edit.parts.PConnectorPConnectorCompartment2EditPart;
import org.admanager.piadladmapping.plugin.diagram.edit.parts.PConnectorPConnectorCompartmentEditPart;
import org.admanager.piadladmapping.plugin.diagram.edit.parts.PConnectorRole2EditPart;
import org.admanager.piadladmapping.plugin.diagram.edit.parts.PConnectorRoleEditPart;
import org.admanager.piadladmapping.plugin.diagram.edit.parts.PConstraintEditPart;
import org.admanager.piadladmapping.plugin.diagram.edit.parts.PMultiplicityEditPart;
import org.admanager.piadladmapping.plugin.diagram.edit.parts.PRoleEditPart;
import org.admanager.piadladmapping.plugin.diagram.edit.parts.PRolePRoleCompartmentEditPart;
import org.admanager.piadladmapping.plugin.diagram.edit.parts.Port2EditPart;
import org.admanager.piadladmapping.plugin.diagram.edit.parts.PortEditPart;
import org.admanager.piadladmapping.plugin.diagram.edit.parts.RelayEditPart;
import org.admanager.piadladmapping.plugin.diagram.edit.parts.UnificationEditPart;
import org.admanager.piadladmapping.plugin.diagram.providers.PiADLADManagementMetamodelElementTypes;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.EStructuralFeature;
import org.eclipse.emf.ecore.util.EcoreUtil;
import org.eclipse.gmf.runtime.notation.View;

/**
 * @generated
 */
public class PiADLADManagementMetamodelDiagramUpdater {

	/**
	 * @generated
	 */
	public static boolean isShortcutOrphaned(View view) {
		return !view.isSetElement() || view.getElement() == null
				|| view.getElement().eIsProxy();
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelNodeDescriptor]*/getSemanticChildren(
			View view) {
		switch (PiADLADManagementMetamodelVisualIDRegistry.getVisualID(view)) {
		case MappingRootEditPart.VISUAL_ID:
			return getMappingRoot_1000SemanticChildren(view);
		case CBAPatternCBAPatternCompartmentEditPart.VISUAL_ID:
			return getCBAPatternCBAPatternCompartment_7023SemanticChildren(view);
		case PRolePRoleCompartmentEditPart.VISUAL_ID:
			return getPRolePRoleCompartment_7024SemanticChildren(view);
		case PComponentPComponentCompartmentEditPart.VISUAL_ID:
			return getPComponentPComponentCompartment_7025SemanticChildren(view);
		case PComponentPComponentCompartment2EditPart.VISUAL_ID:
			return getPComponentPComponentCompartment_7026SemanticChildren(view);
		case PConnectorPConnectorCompartmentEditPart.VISUAL_ID:
			return getPConnectorPConnectorCompartment_7027SemanticChildren(view);
		case PConnectorPConnectorCompartment2EditPart.VISUAL_ID:
			return getPConnectorPConnectorCompartment_7028SemanticChildren(view);
		case ArchitectureArchitectureCompartmentEditPart.VISUAL_ID:
			return getArchitectureArchitectureCompartment_7029SemanticChildren(view);
		case ComponentComponentCompartmentEditPart.VISUAL_ID:
			return getComponentComponentCompartment_7030SemanticChildren(view);
		case ArchitectureArchitectureCompartment2EditPart.VISUAL_ID:
			return getArchitectureArchitectureCompartment_7031SemanticChildren(view);
		case ConnectorConnectorCompartmentEditPart.VISUAL_ID:
			return getConnectorConnectorCompartment_7032SemanticChildren(view);
		}
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelNodeDescriptor]*/getMappingRoot_1000SemanticChildren(
			View view) {
		if (!view.isSetElement()) {
			return Collections.EMPTY_LIST;
		}
		MappingRoot modelElement = (MappingRoot) view.getElement();
		LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelNodeDescriptor]*/result = new LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelNodeDescriptor]*/();
		for (Iterator/*[?]*/it = modelElement.getComponentportmappings()
				.iterator(); it.hasNext();) {
			ComponentPortMapping childElement = (ComponentPortMapping) it
					.next();
			int visualID = PiADLADManagementMetamodelVisualIDRegistry
					.getNodeVisualID(view, childElement);
			if (visualID == ComponentPortMappingEditPart.VISUAL_ID) {
				result.add(new PiADLADManagementMetamodelNodeDescriptor(
						childElement, visualID));
				continue;
			}
		}
		for (Iterator/*[?]*/it = modelElement.getConnectorrolemappings()
				.iterator(); it.hasNext();) {
			ConnectorRoleMapping childElement = (ConnectorRoleMapping) it
					.next();
			int visualID = PiADLADManagementMetamodelVisualIDRegistry
					.getNodeVisualID(view, childElement);
			if (visualID == ConnectorRoleMappingEditPart.VISUAL_ID) {
				result.add(new PiADLADManagementMetamodelNodeDescriptor(
						childElement, visualID));
				continue;
			}
		}
		for (Iterator/*[?]*/it = modelElement.getConnectormappings()
				.iterator(); it.hasNext();) {
			ConnectorMapping childElement = (ConnectorMapping) it.next();
			int visualID = PiADLADManagementMetamodelVisualIDRegistry
					.getNodeVisualID(view, childElement);
			if (visualID == ConnectorMappingEditPart.VISUAL_ID) {
				result.add(new PiADLADManagementMetamodelNodeDescriptor(
						childElement, visualID));
				continue;
			}
		}
		for (Iterator/*[?]*/it = modelElement.getComponentmappings()
				.iterator(); it.hasNext();) {
			ComponentMapping childElement = (ComponentMapping) it.next();
			int visualID = PiADLADManagementMetamodelVisualIDRegistry
					.getNodeVisualID(view, childElement);
			if (visualID == ComponentMappingEditPart.VISUAL_ID) {
				result.add(new PiADLADManagementMetamodelNodeDescriptor(
						childElement, visualID));
				continue;
			}
		}
		{
			CBAPattern childElement = modelElement.getCbapattern();
			int visualID = PiADLADManagementMetamodelVisualIDRegistry
					.getNodeVisualID(view, childElement);
			if (visualID == CBAPatternEditPart.VISUAL_ID) {
				result.add(new PiADLADManagementMetamodelNodeDescriptor(
						childElement, visualID));
			}
		}
		{
			Architecture childElement = modelElement.getPiadl();
			int visualID = PiADLADManagementMetamodelVisualIDRegistry
					.getNodeVisualID(view, childElement);
			if (visualID == ArchitectureEditPart.VISUAL_ID) {
				result.add(new PiADLADManagementMetamodelNodeDescriptor(
						childElement, visualID));
			}
		}
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelNodeDescriptor]*/getCBAPatternCBAPatternCompartment_7023SemanticChildren(
			View view) {
		if (false == view.eContainer() instanceof View) {
			return Collections.EMPTY_LIST;
		}
		View containerView = (View) view.eContainer();
		if (!containerView.isSetElement()) {
			return Collections.EMPTY_LIST;
		}
		CBAPattern modelElement = (CBAPattern) containerView.getElement();
		LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelNodeDescriptor]*/result = new LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelNodeDescriptor]*/();
		for (Iterator/*[?]*/it = modelElement.getMultiplicities().iterator(); it
				.hasNext();) {
			PMultiplicity childElement = (PMultiplicity) it.next();
			int visualID = PiADLADManagementMetamodelVisualIDRegistry
					.getNodeVisualID(view, childElement);
			if (visualID == PMultiplicityEditPart.VISUAL_ID) {
				result.add(new PiADLADManagementMetamodelNodeDescriptor(
						childElement, visualID));
				continue;
			}
		}
		for (Iterator/*[?]*/it = modelElement.getContainingRoles().iterator(); it
				.hasNext();) {
			PRole childElement = (PRole) it.next();
			int visualID = PiADLADManagementMetamodelVisualIDRegistry
					.getNodeVisualID(view, childElement);
			if (visualID == PRoleEditPart.VISUAL_ID) {
				result.add(new PiADLADManagementMetamodelNodeDescriptor(
						childElement, visualID));
				continue;
			}
		}
		for (Iterator/*[?]*/it = modelElement.getElements().iterator(); it
				.hasNext();) {
			PElement childElement = (PElement) it.next();
			int visualID = PiADLADManagementMetamodelVisualIDRegistry
					.getNodeVisualID(view, childElement);
			if (visualID == PComponentPortEditPart.VISUAL_ID) {
				result.add(new PiADLADManagementMetamodelNodeDescriptor(
						childElement, visualID));
				continue;
			}
			if (visualID == PConnectorRoleEditPart.VISUAL_ID) {
				result.add(new PiADLADManagementMetamodelNodeDescriptor(
						childElement, visualID));
				continue;
			}
			if (visualID == PComponentEditPart.VISUAL_ID) {
				result.add(new PiADLADManagementMetamodelNodeDescriptor(
						childElement, visualID));
				continue;
			}
			if (visualID == PConnector2EditPart.VISUAL_ID) {
				result.add(new PiADLADManagementMetamodelNodeDescriptor(
						childElement, visualID));
				continue;
			}
		}
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelNodeDescriptor]*/getPRolePRoleCompartment_7024SemanticChildren(
			View view) {
		if (false == view.eContainer() instanceof View) {
			return Collections.EMPTY_LIST;
		}
		View containerView = (View) view.eContainer();
		if (!containerView.isSetElement()) {
			return Collections.EMPTY_LIST;
		}
		PRole modelElement = (PRole) containerView.getElement();
		LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelNodeDescriptor]*/result = new LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelNodeDescriptor]*/();
		for (Iterator/*[?]*/it = modelElement.getInvariants().iterator(); it
				.hasNext();) {
			PConstraint childElement = (PConstraint) it.next();
			int visualID = PiADLADManagementMetamodelVisualIDRegistry
					.getNodeVisualID(view, childElement);
			if (visualID == PConstraintEditPart.VISUAL_ID) {
				result.add(new PiADLADManagementMetamodelNodeDescriptor(
						childElement, visualID));
				continue;
			}
		}
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelNodeDescriptor]*/getPComponentPComponentCompartment_7025SemanticChildren(
			View view) {
		if (false == view.eContainer() instanceof View) {
			return Collections.EMPTY_LIST;
		}
		View containerView = (View) view.eContainer();
		if (!containerView.isSetElement()) {
			return Collections.EMPTY_LIST;
		}
		PComponent modelElement = (PComponent) containerView.getElement();
		LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelNodeDescriptor]*/result = new LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelNodeDescriptor]*/();
		for (Iterator/*[?]*/it = modelElement.getInternalElements().iterator(); it
				.hasNext();) {
			PElement childElement = (PElement) it.next();
			int visualID = PiADLADManagementMetamodelVisualIDRegistry
					.getNodeVisualID(view, childElement);
			if (visualID == PComponent2EditPart.VISUAL_ID) {
				result.add(new PiADLADManagementMetamodelNodeDescriptor(
						childElement, visualID));
				continue;
			}
			if (visualID == PComponentPort2EditPart.VISUAL_ID) {
				result.add(new PiADLADManagementMetamodelNodeDescriptor(
						childElement, visualID));
				continue;
			}
			if (visualID == PConnectorEditPart.VISUAL_ID) {
				result.add(new PiADLADManagementMetamodelNodeDescriptor(
						childElement, visualID));
				continue;
			}
		}
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelNodeDescriptor]*/getPComponentPComponentCompartment_7026SemanticChildren(
			View view) {
		if (false == view.eContainer() instanceof View) {
			return Collections.EMPTY_LIST;
		}
		View containerView = (View) view.eContainer();
		if (!containerView.isSetElement()) {
			return Collections.EMPTY_LIST;
		}
		PComponent modelElement = (PComponent) containerView.getElement();
		LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelNodeDescriptor]*/result = new LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelNodeDescriptor]*/();
		for (Iterator/*[?]*/it = modelElement.getInternalElements().iterator(); it
				.hasNext();) {
			PElement childElement = (PElement) it.next();
			int visualID = PiADLADManagementMetamodelVisualIDRegistry
					.getNodeVisualID(view, childElement);
			if (visualID == PComponent2EditPart.VISUAL_ID) {
				result.add(new PiADLADManagementMetamodelNodeDescriptor(
						childElement, visualID));
				continue;
			}
			if (visualID == PComponentPort2EditPart.VISUAL_ID) {
				result.add(new PiADLADManagementMetamodelNodeDescriptor(
						childElement, visualID));
				continue;
			}
			if (visualID == PConnectorEditPart.VISUAL_ID) {
				result.add(new PiADLADManagementMetamodelNodeDescriptor(
						childElement, visualID));
				continue;
			}
		}
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelNodeDescriptor]*/getPConnectorPConnectorCompartment_7027SemanticChildren(
			View view) {
		if (false == view.eContainer() instanceof View) {
			return Collections.EMPTY_LIST;
		}
		View containerView = (View) view.eContainer();
		if (!containerView.isSetElement()) {
			return Collections.EMPTY_LIST;
		}
		PConnector modelElement = (PConnector) containerView.getElement();
		LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelNodeDescriptor]*/result = new LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelNodeDescriptor]*/();
		for (Iterator/*[?]*/it = modelElement.getInternalElements().iterator(); it
				.hasNext();) {
			PElement childElement = (PElement) it.next();
			int visualID = PiADLADManagementMetamodelVisualIDRegistry
					.getNodeVisualID(view, childElement);
			if (visualID == PConnectorEditPart.VISUAL_ID) {
				result.add(new PiADLADManagementMetamodelNodeDescriptor(
						childElement, visualID));
				continue;
			}
			if (visualID == PConnectorRole2EditPart.VISUAL_ID) {
				result.add(new PiADLADManagementMetamodelNodeDescriptor(
						childElement, visualID));
				continue;
			}
			if (visualID == PComponent2EditPart.VISUAL_ID) {
				result.add(new PiADLADManagementMetamodelNodeDescriptor(
						childElement, visualID));
				continue;
			}
		}
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelNodeDescriptor]*/getPConnectorPConnectorCompartment_7028SemanticChildren(
			View view) {
		if (false == view.eContainer() instanceof View) {
			return Collections.EMPTY_LIST;
		}
		View containerView = (View) view.eContainer();
		if (!containerView.isSetElement()) {
			return Collections.EMPTY_LIST;
		}
		PConnector modelElement = (PConnector) containerView.getElement();
		LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelNodeDescriptor]*/result = new LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelNodeDescriptor]*/();
		for (Iterator/*[?]*/it = modelElement.getInternalElements().iterator(); it
				.hasNext();) {
			PElement childElement = (PElement) it.next();
			int visualID = PiADLADManagementMetamodelVisualIDRegistry
					.getNodeVisualID(view, childElement);
			if (visualID == PConnectorEditPart.VISUAL_ID) {
				result.add(new PiADLADManagementMetamodelNodeDescriptor(
						childElement, visualID));
				continue;
			}
			if (visualID == PConnectorRole2EditPart.VISUAL_ID) {
				result.add(new PiADLADManagementMetamodelNodeDescriptor(
						childElement, visualID));
				continue;
			}
			if (visualID == PComponent2EditPart.VISUAL_ID) {
				result.add(new PiADLADManagementMetamodelNodeDescriptor(
						childElement, visualID));
				continue;
			}
		}
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelNodeDescriptor]*/getArchitectureArchitectureCompartment_7029SemanticChildren(
			View view) {
		if (false == view.eContainer() instanceof View) {
			return Collections.EMPTY_LIST;
		}
		View containerView = (View) view.eContainer();
		if (!containerView.isSetElement()) {
			return Collections.EMPTY_LIST;
		}
		Architecture modelElement = (Architecture) containerView.getElement();
		LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelNodeDescriptor]*/result = new LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelNodeDescriptor]*/();
		for (Iterator/*[?]*/it = modelElement.getComponents().iterator(); it
				.hasNext();) {
			Component childElement = (Component) it.next();
			int visualID = PiADLADManagementMetamodelVisualIDRegistry
					.getNodeVisualID(view, childElement);
			if (visualID == ComponentEditPart.VISUAL_ID) {
				result.add(new PiADLADManagementMetamodelNodeDescriptor(
						childElement, visualID));
				continue;
			}
		}
		for (Iterator/*[?]*/it = modelElement.getConnectors().iterator(); it
				.hasNext();) {
			Connector childElement = (Connector) it.next();
			int visualID = PiADLADManagementMetamodelVisualIDRegistry
					.getNodeVisualID(view, childElement);
			if (visualID == ConnectorEditPart.VISUAL_ID) {
				result.add(new PiADLADManagementMetamodelNodeDescriptor(
						childElement, visualID));
				continue;
			}
		}
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelNodeDescriptor]*/getComponentComponentCompartment_7030SemanticChildren(
			View view) {
		if (false == view.eContainer() instanceof View) {
			return Collections.EMPTY_LIST;
		}
		View containerView = (View) view.eContainer();
		if (!containerView.isSetElement()) {
			return Collections.EMPTY_LIST;
		}
		Component modelElement = (Component) containerView.getElement();
		LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelNodeDescriptor]*/result = new LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelNodeDescriptor]*/();
		for (Iterator/*[?]*/it = modelElement.getPorts().iterator(); it
				.hasNext();) {
			Port childElement = (Port) it.next();
			int visualID = PiADLADManagementMetamodelVisualIDRegistry
					.getNodeVisualID(view, childElement);
			if (visualID == PortEditPart.VISUAL_ID) {
				result.add(new PiADLADManagementMetamodelNodeDescriptor(
						childElement, visualID));
				continue;
			}
		}
		{
			Architecture childElement = modelElement.getArchitecture();
			int visualID = PiADLADManagementMetamodelVisualIDRegistry
					.getNodeVisualID(view, childElement);
			if (visualID == Architecture2EditPart.VISUAL_ID) {
				result.add(new PiADLADManagementMetamodelNodeDescriptor(
						childElement, visualID));
			}
		}
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelNodeDescriptor]*/getArchitectureArchitectureCompartment_7031SemanticChildren(
			View view) {
		if (false == view.eContainer() instanceof View) {
			return Collections.EMPTY_LIST;
		}
		View containerView = (View) view.eContainer();
		if (!containerView.isSetElement()) {
			return Collections.EMPTY_LIST;
		}
		Architecture modelElement = (Architecture) containerView.getElement();
		LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelNodeDescriptor]*/result = new LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelNodeDescriptor]*/();
		for (Iterator/*[?]*/it = modelElement.getComponents().iterator(); it
				.hasNext();) {
			Component childElement = (Component) it.next();
			int visualID = PiADLADManagementMetamodelVisualIDRegistry
					.getNodeVisualID(view, childElement);
			if (visualID == ComponentEditPart.VISUAL_ID) {
				result.add(new PiADLADManagementMetamodelNodeDescriptor(
						childElement, visualID));
				continue;
			}
		}
		for (Iterator/*[?]*/it = modelElement.getConnectors().iterator(); it
				.hasNext();) {
			Connector childElement = (Connector) it.next();
			int visualID = PiADLADManagementMetamodelVisualIDRegistry
					.getNodeVisualID(view, childElement);
			if (visualID == ConnectorEditPart.VISUAL_ID) {
				result.add(new PiADLADManagementMetamodelNodeDescriptor(
						childElement, visualID));
				continue;
			}
		}
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelNodeDescriptor]*/getConnectorConnectorCompartment_7032SemanticChildren(
			View view) {
		if (false == view.eContainer() instanceof View) {
			return Collections.EMPTY_LIST;
		}
		View containerView = (View) view.eContainer();
		if (!containerView.isSetElement()) {
			return Collections.EMPTY_LIST;
		}
		Connector modelElement = (Connector) containerView.getElement();
		LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelNodeDescriptor]*/result = new LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelNodeDescriptor]*/();
		{
			Architecture childElement = modelElement.getArchitecture();
			int visualID = PiADLADManagementMetamodelVisualIDRegistry
					.getNodeVisualID(view, childElement);
			if (visualID == Architecture2EditPart.VISUAL_ID) {
				result.add(new PiADLADManagementMetamodelNodeDescriptor(
						childElement, visualID));
			}
		}
		for (Iterator/*[?]*/it = modelElement.getPorts().iterator(); it
				.hasNext();) {
			Port childElement = (Port) it.next();
			int visualID = PiADLADManagementMetamodelVisualIDRegistry
					.getNodeVisualID(view, childElement);
			if (visualID == Port2EditPart.VISUAL_ID) {
				result.add(new PiADLADManagementMetamodelNodeDescriptor(
						childElement, visualID));
				continue;
			}
		}
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/getContainedLinks(
			View view) {
		switch (PiADLADManagementMetamodelVisualIDRegistry.getVisualID(view)) {
		case MappingRootEditPart.VISUAL_ID:
			return getMappingRoot_1000ContainedLinks(view);
		case ComponentPortMappingEditPart.VISUAL_ID:
			return getComponentPortMapping_2030ContainedLinks(view);
		case ConnectorRoleMappingEditPart.VISUAL_ID:
			return getConnectorRoleMapping_2031ContainedLinks(view);
		case ConnectorMappingEditPart.VISUAL_ID:
			return getConnectorMapping_2032ContainedLinks(view);
		case ComponentMappingEditPart.VISUAL_ID:
			return getComponentMapping_2033ContainedLinks(view);
		case CBAPatternEditPart.VISUAL_ID:
			return getCBAPattern_2034ContainedLinks(view);
		case ArchitectureEditPart.VISUAL_ID:
			return getArchitecture_2035ContainedLinks(view);
		case PMultiplicityEditPart.VISUAL_ID:
			return getPMultiplicity_3037ContainedLinks(view);
		case PRoleEditPart.VISUAL_ID:
			return getPRole_3038ContainedLinks(view);
		case PConstraintEditPart.VISUAL_ID:
			return getPConstraint_3039ContainedLinks(view);
		case PComponentPortEditPart.VISUAL_ID:
			return getPComponentPort_3040ContainedLinks(view);
		case PConnectorRoleEditPart.VISUAL_ID:
			return getPConnectorRole_3041ContainedLinks(view);
		case PComponentEditPart.VISUAL_ID:
			return getPComponent_3042ContainedLinks(view);
		case PComponent2EditPart.VISUAL_ID:
			return getPComponent_3043ContainedLinks(view);
		case PComponentPort2EditPart.VISUAL_ID:
			return getPComponentPort_3044ContainedLinks(view);
		case PConnectorEditPart.VISUAL_ID:
			return getPConnector_3045ContainedLinks(view);
		case PConnectorRole2EditPart.VISUAL_ID:
			return getPConnectorRole_3046ContainedLinks(view);
		case PConnector2EditPart.VISUAL_ID:
			return getPConnector_3047ContainedLinks(view);
		case ComponentEditPart.VISUAL_ID:
			return getComponent_3048ContainedLinks(view);
		case PortEditPart.VISUAL_ID:
			return getPort_3049ContainedLinks(view);
		case Architecture2EditPart.VISUAL_ID:
			return getArchitecture_3050ContainedLinks(view);
		case ConnectorEditPart.VISUAL_ID:
			return getConnector_3051ContainedLinks(view);
		case Port2EditPart.VISUAL_ID:
			return getPort_3052ContainedLinks(view);
		case UnificationEditPart.VISUAL_ID:
			return getUnification_4051ContainedLinks(view);
		case RelayEditPart.VISUAL_ID:
			return getRelay_4052ContainedLinks(view);
		}
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/getIncomingLinks(
			View view) {
		switch (PiADLADManagementMetamodelVisualIDRegistry.getVisualID(view)) {
		case ComponentPortMappingEditPart.VISUAL_ID:
			return getComponentPortMapping_2030IncomingLinks(view);
		case ConnectorRoleMappingEditPart.VISUAL_ID:
			return getConnectorRoleMapping_2031IncomingLinks(view);
		case ConnectorMappingEditPart.VISUAL_ID:
			return getConnectorMapping_2032IncomingLinks(view);
		case ComponentMappingEditPart.VISUAL_ID:
			return getComponentMapping_2033IncomingLinks(view);
		case CBAPatternEditPart.VISUAL_ID:
			return getCBAPattern_2034IncomingLinks(view);
		case ArchitectureEditPart.VISUAL_ID:
			return getArchitecture_2035IncomingLinks(view);
		case PMultiplicityEditPart.VISUAL_ID:
			return getPMultiplicity_3037IncomingLinks(view);
		case PRoleEditPart.VISUAL_ID:
			return getPRole_3038IncomingLinks(view);
		case PConstraintEditPart.VISUAL_ID:
			return getPConstraint_3039IncomingLinks(view);
		case PComponentPortEditPart.VISUAL_ID:
			return getPComponentPort_3040IncomingLinks(view);
		case PConnectorRoleEditPart.VISUAL_ID:
			return getPConnectorRole_3041IncomingLinks(view);
		case PComponentEditPart.VISUAL_ID:
			return getPComponent_3042IncomingLinks(view);
		case PComponent2EditPart.VISUAL_ID:
			return getPComponent_3043IncomingLinks(view);
		case PComponentPort2EditPart.VISUAL_ID:
			return getPComponentPort_3044IncomingLinks(view);
		case PConnectorEditPart.VISUAL_ID:
			return getPConnector_3045IncomingLinks(view);
		case PConnectorRole2EditPart.VISUAL_ID:
			return getPConnectorRole_3046IncomingLinks(view);
		case PConnector2EditPart.VISUAL_ID:
			return getPConnector_3047IncomingLinks(view);
		case ComponentEditPart.VISUAL_ID:
			return getComponent_3048IncomingLinks(view);
		case PortEditPart.VISUAL_ID:
			return getPort_3049IncomingLinks(view);
		case Architecture2EditPart.VISUAL_ID:
			return getArchitecture_3050IncomingLinks(view);
		case ConnectorEditPart.VISUAL_ID:
			return getConnector_3051IncomingLinks(view);
		case Port2EditPart.VISUAL_ID:
			return getPort_3052IncomingLinks(view);
		case UnificationEditPart.VISUAL_ID:
			return getUnification_4051IncomingLinks(view);
		case RelayEditPart.VISUAL_ID:
			return getRelay_4052IncomingLinks(view);
		}
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/getOutgoingLinks(
			View view) {
		switch (PiADLADManagementMetamodelVisualIDRegistry.getVisualID(view)) {
		case ComponentPortMappingEditPart.VISUAL_ID:
			return getComponentPortMapping_2030OutgoingLinks(view);
		case ConnectorRoleMappingEditPart.VISUAL_ID:
			return getConnectorRoleMapping_2031OutgoingLinks(view);
		case ConnectorMappingEditPart.VISUAL_ID:
			return getConnectorMapping_2032OutgoingLinks(view);
		case ComponentMappingEditPart.VISUAL_ID:
			return getComponentMapping_2033OutgoingLinks(view);
		case CBAPatternEditPart.VISUAL_ID:
			return getCBAPattern_2034OutgoingLinks(view);
		case ArchitectureEditPart.VISUAL_ID:
			return getArchitecture_2035OutgoingLinks(view);
		case PMultiplicityEditPart.VISUAL_ID:
			return getPMultiplicity_3037OutgoingLinks(view);
		case PRoleEditPart.VISUAL_ID:
			return getPRole_3038OutgoingLinks(view);
		case PConstraintEditPart.VISUAL_ID:
			return getPConstraint_3039OutgoingLinks(view);
		case PComponentPortEditPart.VISUAL_ID:
			return getPComponentPort_3040OutgoingLinks(view);
		case PConnectorRoleEditPart.VISUAL_ID:
			return getPConnectorRole_3041OutgoingLinks(view);
		case PComponentEditPart.VISUAL_ID:
			return getPComponent_3042OutgoingLinks(view);
		case PComponent2EditPart.VISUAL_ID:
			return getPComponent_3043OutgoingLinks(view);
		case PComponentPort2EditPart.VISUAL_ID:
			return getPComponentPort_3044OutgoingLinks(view);
		case PConnectorEditPart.VISUAL_ID:
			return getPConnector_3045OutgoingLinks(view);
		case PConnectorRole2EditPart.VISUAL_ID:
			return getPConnectorRole_3046OutgoingLinks(view);
		case PConnector2EditPart.VISUAL_ID:
			return getPConnector_3047OutgoingLinks(view);
		case ComponentEditPart.VISUAL_ID:
			return getComponent_3048OutgoingLinks(view);
		case PortEditPart.VISUAL_ID:
			return getPort_3049OutgoingLinks(view);
		case Architecture2EditPart.VISUAL_ID:
			return getArchitecture_3050OutgoingLinks(view);
		case ConnectorEditPart.VISUAL_ID:
			return getConnector_3051OutgoingLinks(view);
		case Port2EditPart.VISUAL_ID:
			return getPort_3052OutgoingLinks(view);
		case UnificationEditPart.VISUAL_ID:
			return getUnification_4051OutgoingLinks(view);
		case RelayEditPart.VISUAL_ID:
			return getRelay_4052OutgoingLinks(view);
		}
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/getMappingRoot_1000ContainedLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/getComponentPortMapping_2030ContainedLinks(
			View view) {
		ComponentPortMapping modelElement = (ComponentPortMapping) view
				.getElement();
		LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/();
		result.addAll(getOutgoingFeatureModelFacetLinks_ComponentPortMapping_Source_4047(modelElement));
		result.addAll(getOutgoingFeatureModelFacetLinks_ComponentPortMapping_Target_4049(modelElement));
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/getConnectorRoleMapping_2031ContainedLinks(
			View view) {
		ConnectorRoleMapping modelElement = (ConnectorRoleMapping) view
				.getElement();
		LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/();
		result.addAll(getOutgoingFeatureModelFacetLinks_ConnectorRoleMapping_Source_4045(modelElement));
		result.addAll(getOutgoingFeatureModelFacetLinks_ConnectorRoleMapping_Target_4050(modelElement));
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/getConnectorMapping_2032ContainedLinks(
			View view) {
		ConnectorMapping modelElement = (ConnectorMapping) view.getElement();
		LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/();
		result.addAll(getOutgoingFeatureModelFacetLinks_ConnectorMapping_Target_4043(modelElement));
		result.addAll(getOutgoingFeatureModelFacetLinks_ConnectorMapping_Source_4044(modelElement));
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/getComponentMapping_2033ContainedLinks(
			View view) {
		ComponentMapping modelElement = (ComponentMapping) view.getElement();
		LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/();
		result.addAll(getOutgoingFeatureModelFacetLinks_ComponentMapping_Source_4046(modelElement));
		result.addAll(getOutgoingFeatureModelFacetLinks_ComponentMapping_Target_4048(modelElement));
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/getCBAPattern_2034ContainedLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/getArchitecture_2035ContainedLinks(
			View view) {
		Architecture modelElement = (Architecture) view.getElement();
		LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/();
		result.addAll(getContainedTypeModelFacetLinks_Unification_4051(modelElement));
		result.addAll(getContainedTypeModelFacetLinks_Relay_4052(modelElement));
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/getPMultiplicity_3037ContainedLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/getPRole_3038ContainedLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/getPConstraint_3039ContainedLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/getPComponentPort_3040ContainedLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/getPConnectorRole_3041ContainedLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/getPComponent_3042ContainedLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/getPComponent_3043ContainedLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/getPComponentPort_3044ContainedLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/getPConnector_3045ContainedLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/getPConnectorRole_3046ContainedLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/getPConnector_3047ContainedLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/getComponent_3048ContainedLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/getPort_3049ContainedLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/getArchitecture_3050ContainedLinks(
			View view) {
		Architecture modelElement = (Architecture) view.getElement();
		LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/();
		result.addAll(getContainedTypeModelFacetLinks_Unification_4051(modelElement));
		result.addAll(getContainedTypeModelFacetLinks_Relay_4052(modelElement));
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/getConnector_3051ContainedLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/getPort_3052ContainedLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/getUnification_4051ContainedLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/getRelay_4052ContainedLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/getComponentPortMapping_2030IncomingLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/getConnectorRoleMapping_2031IncomingLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/getConnectorMapping_2032IncomingLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/getComponentMapping_2033IncomingLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/getCBAPattern_2034IncomingLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/getArchitecture_2035IncomingLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/getPMultiplicity_3037IncomingLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/getPRole_3038IncomingLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/getPConstraint_3039IncomingLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/getPComponentPort_3040IncomingLinks(
			View view) {
		PComponentPort modelElement = (PComponentPort) view.getElement();
		Map/*[org.eclipse.emf.ecore.EObject, java.util.Collection<org.eclipse.emf.ecore.EStructuralFeature.Setting>]*/crossReferences = EcoreUtil.CrossReferencer
				.find(view.eResource().getResourceSet().getResources());
		LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/();
		result.addAll(getIncomingFeatureModelFacetLinks_ComponentPortMapping_Target_4049(
				modelElement, crossReferences));
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/getPConnectorRole_3041IncomingLinks(
			View view) {
		PConnectorRole modelElement = (PConnectorRole) view.getElement();
		Map/*[org.eclipse.emf.ecore.EObject, java.util.Collection<org.eclipse.emf.ecore.EStructuralFeature.Setting>]*/crossReferences = EcoreUtil.CrossReferencer
				.find(view.eResource().getResourceSet().getResources());
		LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/();
		result.addAll(getIncomingFeatureModelFacetLinks_ConnectorRoleMapping_Target_4050(
				modelElement, crossReferences));
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/getPComponent_3042IncomingLinks(
			View view) {
		PComponent modelElement = (PComponent) view.getElement();
		Map/*[org.eclipse.emf.ecore.EObject, java.util.Collection<org.eclipse.emf.ecore.EStructuralFeature.Setting>]*/crossReferences = EcoreUtil.CrossReferencer
				.find(view.eResource().getResourceSet().getResources());
		LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/();
		result.addAll(getIncomingFeatureModelFacetLinks_ComponentMapping_Target_4048(
				modelElement, crossReferences));
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/getPComponent_3043IncomingLinks(
			View view) {
		PComponent modelElement = (PComponent) view.getElement();
		Map/*[org.eclipse.emf.ecore.EObject, java.util.Collection<org.eclipse.emf.ecore.EStructuralFeature.Setting>]*/crossReferences = EcoreUtil.CrossReferencer
				.find(view.eResource().getResourceSet().getResources());
		LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/();
		result.addAll(getIncomingFeatureModelFacetLinks_ComponentMapping_Target_4048(
				modelElement, crossReferences));
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/getPComponentPort_3044IncomingLinks(
			View view) {
		PComponentPort modelElement = (PComponentPort) view.getElement();
		Map/*[org.eclipse.emf.ecore.EObject, java.util.Collection<org.eclipse.emf.ecore.EStructuralFeature.Setting>]*/crossReferences = EcoreUtil.CrossReferencer
				.find(view.eResource().getResourceSet().getResources());
		LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/();
		result.addAll(getIncomingFeatureModelFacetLinks_ComponentPortMapping_Target_4049(
				modelElement, crossReferences));
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/getPConnector_3045IncomingLinks(
			View view) {
		PConnector modelElement = (PConnector) view.getElement();
		Map/*[org.eclipse.emf.ecore.EObject, java.util.Collection<org.eclipse.emf.ecore.EStructuralFeature.Setting>]*/crossReferences = EcoreUtil.CrossReferencer
				.find(view.eResource().getResourceSet().getResources());
		LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/();
		result.addAll(getIncomingFeatureModelFacetLinks_ConnectorMapping_Target_4043(
				modelElement, crossReferences));
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/getPConnectorRole_3046IncomingLinks(
			View view) {
		PConnectorRole modelElement = (PConnectorRole) view.getElement();
		Map/*[org.eclipse.emf.ecore.EObject, java.util.Collection<org.eclipse.emf.ecore.EStructuralFeature.Setting>]*/crossReferences = EcoreUtil.CrossReferencer
				.find(view.eResource().getResourceSet().getResources());
		LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/();
		result.addAll(getIncomingFeatureModelFacetLinks_ConnectorRoleMapping_Target_4050(
				modelElement, crossReferences));
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/getPConnector_3047IncomingLinks(
			View view) {
		PConnector modelElement = (PConnector) view.getElement();
		Map/*[org.eclipse.emf.ecore.EObject, java.util.Collection<org.eclipse.emf.ecore.EStructuralFeature.Setting>]*/crossReferences = EcoreUtil.CrossReferencer
				.find(view.eResource().getResourceSet().getResources());
		LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/();
		result.addAll(getIncomingFeatureModelFacetLinks_ConnectorMapping_Target_4043(
				modelElement, crossReferences));
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/getComponent_3048IncomingLinks(
			View view) {
		Component modelElement = (Component) view.getElement();
		Map/*[org.eclipse.emf.ecore.EObject, java.util.Collection<org.eclipse.emf.ecore.EStructuralFeature.Setting>]*/crossReferences = EcoreUtil.CrossReferencer
				.find(view.eResource().getResourceSet().getResources());
		LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/();
		result.addAll(getIncomingFeatureModelFacetLinks_ComponentMapping_Source_4046(
				modelElement, crossReferences));
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/getPort_3049IncomingLinks(
			View view) {
		Port modelElement = (Port) view.getElement();
		Map/*[org.eclipse.emf.ecore.EObject, java.util.Collection<org.eclipse.emf.ecore.EStructuralFeature.Setting>]*/crossReferences = EcoreUtil.CrossReferencer
				.find(view.eResource().getResourceSet().getResources());
		LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/();
		result.addAll(getIncomingFeatureModelFacetLinks_ConnectorRoleMapping_Source_4045(
				modelElement, crossReferences));
		result.addAll(getIncomingFeatureModelFacetLinks_ComponentPortMapping_Source_4047(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_Unification_4051(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_Relay_4052(modelElement,
				crossReferences));
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/getArchitecture_3050IncomingLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/getConnector_3051IncomingLinks(
			View view) {
		Connector modelElement = (Connector) view.getElement();
		Map/*[org.eclipse.emf.ecore.EObject, java.util.Collection<org.eclipse.emf.ecore.EStructuralFeature.Setting>]*/crossReferences = EcoreUtil.CrossReferencer
				.find(view.eResource().getResourceSet().getResources());
		LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/();
		result.addAll(getIncomingFeatureModelFacetLinks_ConnectorMapping_Source_4044(
				modelElement, crossReferences));
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/getPort_3052IncomingLinks(
			View view) {
		Port modelElement = (Port) view.getElement();
		Map/*[org.eclipse.emf.ecore.EObject, java.util.Collection<org.eclipse.emf.ecore.EStructuralFeature.Setting>]*/crossReferences = EcoreUtil.CrossReferencer
				.find(view.eResource().getResourceSet().getResources());
		LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/();
		result.addAll(getIncomingFeatureModelFacetLinks_ConnectorRoleMapping_Source_4045(
				modelElement, crossReferences));
		result.addAll(getIncomingFeatureModelFacetLinks_ComponentPortMapping_Source_4047(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_Unification_4051(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_Relay_4052(modelElement,
				crossReferences));
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/getUnification_4051IncomingLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/getRelay_4052IncomingLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/getComponentPortMapping_2030OutgoingLinks(
			View view) {
		ComponentPortMapping modelElement = (ComponentPortMapping) view
				.getElement();
		LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/();
		result.addAll(getOutgoingFeatureModelFacetLinks_ComponentPortMapping_Source_4047(modelElement));
		result.addAll(getOutgoingFeatureModelFacetLinks_ComponentPortMapping_Target_4049(modelElement));
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/getConnectorRoleMapping_2031OutgoingLinks(
			View view) {
		ConnectorRoleMapping modelElement = (ConnectorRoleMapping) view
				.getElement();
		LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/();
		result.addAll(getOutgoingFeatureModelFacetLinks_ConnectorRoleMapping_Source_4045(modelElement));
		result.addAll(getOutgoingFeatureModelFacetLinks_ConnectorRoleMapping_Target_4050(modelElement));
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/getConnectorMapping_2032OutgoingLinks(
			View view) {
		ConnectorMapping modelElement = (ConnectorMapping) view.getElement();
		LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/();
		result.addAll(getOutgoingFeatureModelFacetLinks_ConnectorMapping_Target_4043(modelElement));
		result.addAll(getOutgoingFeatureModelFacetLinks_ConnectorMapping_Source_4044(modelElement));
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/getComponentMapping_2033OutgoingLinks(
			View view) {
		ComponentMapping modelElement = (ComponentMapping) view.getElement();
		LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/();
		result.addAll(getOutgoingFeatureModelFacetLinks_ComponentMapping_Source_4046(modelElement));
		result.addAll(getOutgoingFeatureModelFacetLinks_ComponentMapping_Target_4048(modelElement));
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/getCBAPattern_2034OutgoingLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/getArchitecture_2035OutgoingLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/getPMultiplicity_3037OutgoingLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/getPRole_3038OutgoingLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/getPConstraint_3039OutgoingLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/getPComponentPort_3040OutgoingLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/getPConnectorRole_3041OutgoingLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/getPComponent_3042OutgoingLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/getPComponent_3043OutgoingLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/getPComponentPort_3044OutgoingLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/getPConnector_3045OutgoingLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/getPConnectorRole_3046OutgoingLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/getPConnector_3047OutgoingLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/getComponent_3048OutgoingLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/getPort_3049OutgoingLinks(
			View view) {
		Port modelElement = (Port) view.getElement();
		LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/();
		result.addAll(getOutgoingTypeModelFacetLinks_Unification_4051(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_Relay_4052(modelElement));
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/getArchitecture_3050OutgoingLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/getConnector_3051OutgoingLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/getPort_3052OutgoingLinks(
			View view) {
		Port modelElement = (Port) view.getElement();
		LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/();
		result.addAll(getOutgoingTypeModelFacetLinks_Unification_4051(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_Relay_4052(modelElement));
		return result;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/getUnification_4051OutgoingLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	public static List/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/getRelay_4052OutgoingLinks(
			View view) {
		return Collections.EMPTY_LIST;
	}

	/**
	 * @generated
	 */
	private static Collection/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/getContainedTypeModelFacetLinks_Unification_4051(
			Architecture container) {
		LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/();
		for (Iterator/*[?]*/links = container.getUnifications().iterator(); links
				.hasNext();) {
			EObject linkObject = (EObject) links.next();
			if (false == linkObject instanceof Unification) {
				continue;
			}
			Unification link = (Unification) linkObject;
			if (UnificationEditPart.VISUAL_ID != PiADLADManagementMetamodelVisualIDRegistry
					.getLinkWithClassVisualID(link)) {
				continue;
			}
			SimpleElement dst = link.getTarget();
			SimpleElement src = link.getSource();
			result.add(new PiADLADManagementMetamodelLinkDescriptor(src, dst,
					link,
					PiADLADManagementMetamodelElementTypes.Unification_4051,
					UnificationEditPart.VISUAL_ID));
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/getContainedTypeModelFacetLinks_Relay_4052(
			Architecture container) {
		LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/();
		for (Iterator/*[?]*/links = container.getRelays().iterator(); links
				.hasNext();) {
			EObject linkObject = (EObject) links.next();
			if (false == linkObject instanceof Relay) {
				continue;
			}
			Relay link = (Relay) linkObject;
			if (RelayEditPart.VISUAL_ID != PiADLADManagementMetamodelVisualIDRegistry
					.getLinkWithClassVisualID(link)) {
				continue;
			}
			SimpleElement dst = link.getTarget();
			SimpleElement src = link.getSource();
			result.add(new PiADLADManagementMetamodelLinkDescriptor(src, dst,
					link, PiADLADManagementMetamodelElementTypes.Relay_4052,
					RelayEditPart.VISUAL_ID));
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/getIncomingFeatureModelFacetLinks_ConnectorMapping_Target_4043(
			PConnector target,
			Map/*[org.eclipse.emf.ecore.EObject, java.util.Collection<org.eclipse.emf.ecore.EStructuralFeature.Setting>]*/crossReferences) {
		LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/();
		Collection/*[org.eclipse.emf.ecore.EStructuralFeature.Setting]*/settings = (Collection) crossReferences
				.get(target);
		for (Iterator/*[org.eclipse.emf.ecore.EStructuralFeature.Setting]*/it = settings
				.iterator(); it.hasNext();) {
			EStructuralFeature.Setting setting = (EStructuralFeature.Setting) it
					.next();
			if (setting.getEStructuralFeature() == PiadladmanagementPackage.eINSTANCE
					.getConnectorMapping_Target()) {
				result.add(new PiADLADManagementMetamodelLinkDescriptor(
						setting.getEObject(),
						target,
						PiADLADManagementMetamodelElementTypes.ConnectorMappingTarget_4043,
						ConnectorMappingTargetEditPart.VISUAL_ID));
			}
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/getIncomingFeatureModelFacetLinks_ConnectorMapping_Source_4044(
			Connector target,
			Map/*[org.eclipse.emf.ecore.EObject, java.util.Collection<org.eclipse.emf.ecore.EStructuralFeature.Setting>]*/crossReferences) {
		LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/();
		Collection/*[org.eclipse.emf.ecore.EStructuralFeature.Setting]*/settings = (Collection) crossReferences
				.get(target);
		for (Iterator/*[org.eclipse.emf.ecore.EStructuralFeature.Setting]*/it = settings
				.iterator(); it.hasNext();) {
			EStructuralFeature.Setting setting = (EStructuralFeature.Setting) it
					.next();
			if (setting.getEStructuralFeature() == PiadladmanagementPackage.eINSTANCE
					.getConnectorMapping_Source()) {
				result.add(new PiADLADManagementMetamodelLinkDescriptor(
						setting.getEObject(),
						target,
						PiADLADManagementMetamodelElementTypes.ConnectorMappingSource_4044,
						ConnectorMappingSourceEditPart.VISUAL_ID));
			}
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/getIncomingFeatureModelFacetLinks_ConnectorRoleMapping_Source_4045(
			Port target,
			Map/*[org.eclipse.emf.ecore.EObject, java.util.Collection<org.eclipse.emf.ecore.EStructuralFeature.Setting>]*/crossReferences) {
		LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/();
		Collection/*[org.eclipse.emf.ecore.EStructuralFeature.Setting]*/settings = (Collection) crossReferences
				.get(target);
		for (Iterator/*[org.eclipse.emf.ecore.EStructuralFeature.Setting]*/it = settings
				.iterator(); it.hasNext();) {
			EStructuralFeature.Setting setting = (EStructuralFeature.Setting) it
					.next();
			if (setting.getEStructuralFeature() == PiadladmanagementPackage.eINSTANCE
					.getConnectorRoleMapping_Source()) {
				result.add(new PiADLADManagementMetamodelLinkDescriptor(
						setting.getEObject(),
						target,
						PiADLADManagementMetamodelElementTypes.ConnectorRoleMappingSource_4045,
						ConnectorRoleMappingSourceEditPart.VISUAL_ID));
			}
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/getIncomingFeatureModelFacetLinks_ComponentMapping_Source_4046(
			Component target,
			Map/*[org.eclipse.emf.ecore.EObject, java.util.Collection<org.eclipse.emf.ecore.EStructuralFeature.Setting>]*/crossReferences) {
		LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/();
		Collection/*[org.eclipse.emf.ecore.EStructuralFeature.Setting]*/settings = (Collection) crossReferences
				.get(target);
		for (Iterator/*[org.eclipse.emf.ecore.EStructuralFeature.Setting]*/it = settings
				.iterator(); it.hasNext();) {
			EStructuralFeature.Setting setting = (EStructuralFeature.Setting) it
					.next();
			if (setting.getEStructuralFeature() == PiadladmanagementPackage.eINSTANCE
					.getComponentMapping_Source()) {
				result.add(new PiADLADManagementMetamodelLinkDescriptor(
						setting.getEObject(),
						target,
						PiADLADManagementMetamodelElementTypes.ComponentMappingSource_4046,
						ComponentMappingSourceEditPart.VISUAL_ID));
			}
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/getIncomingFeatureModelFacetLinks_ComponentPortMapping_Source_4047(
			Port target,
			Map/*[org.eclipse.emf.ecore.EObject, java.util.Collection<org.eclipse.emf.ecore.EStructuralFeature.Setting>]*/crossReferences) {
		LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/();
		Collection/*[org.eclipse.emf.ecore.EStructuralFeature.Setting]*/settings = (Collection) crossReferences
				.get(target);
		for (Iterator/*[org.eclipse.emf.ecore.EStructuralFeature.Setting]*/it = settings
				.iterator(); it.hasNext();) {
			EStructuralFeature.Setting setting = (EStructuralFeature.Setting) it
					.next();
			if (setting.getEStructuralFeature() == PiadladmanagementPackage.eINSTANCE
					.getComponentPortMapping_Source()) {
				result.add(new PiADLADManagementMetamodelLinkDescriptor(
						setting.getEObject(),
						target,
						PiADLADManagementMetamodelElementTypes.ComponentPortMappingSource_4047,
						ComponentPortMappingSourceEditPart.VISUAL_ID));
			}
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/getIncomingFeatureModelFacetLinks_ComponentMapping_Target_4048(
			PComponent target,
			Map/*[org.eclipse.emf.ecore.EObject, java.util.Collection<org.eclipse.emf.ecore.EStructuralFeature.Setting>]*/crossReferences) {
		LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/();
		Collection/*[org.eclipse.emf.ecore.EStructuralFeature.Setting]*/settings = (Collection) crossReferences
				.get(target);
		for (Iterator/*[org.eclipse.emf.ecore.EStructuralFeature.Setting]*/it = settings
				.iterator(); it.hasNext();) {
			EStructuralFeature.Setting setting = (EStructuralFeature.Setting) it
					.next();
			if (setting.getEStructuralFeature() == PiadladmanagementPackage.eINSTANCE
					.getComponentMapping_Target()) {
				result.add(new PiADLADManagementMetamodelLinkDescriptor(
						setting.getEObject(),
						target,
						PiADLADManagementMetamodelElementTypes.ComponentMappingTarget_4048,
						ComponentMappingTargetEditPart.VISUAL_ID));
			}
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/getIncomingFeatureModelFacetLinks_ComponentPortMapping_Target_4049(
			PComponentPort target,
			Map/*[org.eclipse.emf.ecore.EObject, java.util.Collection<org.eclipse.emf.ecore.EStructuralFeature.Setting>]*/crossReferences) {
		LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/();
		Collection/*[org.eclipse.emf.ecore.EStructuralFeature.Setting]*/settings = (Collection) crossReferences
				.get(target);
		for (Iterator/*[org.eclipse.emf.ecore.EStructuralFeature.Setting]*/it = settings
				.iterator(); it.hasNext();) {
			EStructuralFeature.Setting setting = (EStructuralFeature.Setting) it
					.next();
			if (setting.getEStructuralFeature() == PiadladmanagementPackage.eINSTANCE
					.getComponentPortMapping_Target()) {
				result.add(new PiADLADManagementMetamodelLinkDescriptor(
						setting.getEObject(),
						target,
						PiADLADManagementMetamodelElementTypes.ComponentPortMappingTarget_4049,
						ComponentPortMappingTargetEditPart.VISUAL_ID));
			}
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/getIncomingFeatureModelFacetLinks_ConnectorRoleMapping_Target_4050(
			PConnectorRole target,
			Map/*[org.eclipse.emf.ecore.EObject, java.util.Collection<org.eclipse.emf.ecore.EStructuralFeature.Setting>]*/crossReferences) {
		LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/();
		Collection/*[org.eclipse.emf.ecore.EStructuralFeature.Setting]*/settings = (Collection) crossReferences
				.get(target);
		for (Iterator/*[org.eclipse.emf.ecore.EStructuralFeature.Setting]*/it = settings
				.iterator(); it.hasNext();) {
			EStructuralFeature.Setting setting = (EStructuralFeature.Setting) it
					.next();
			if (setting.getEStructuralFeature() == PiadladmanagementPackage.eINSTANCE
					.getConnectorRoleMapping_Target()) {
				result.add(new PiADLADManagementMetamodelLinkDescriptor(
						setting.getEObject(),
						target,
						PiADLADManagementMetamodelElementTypes.ConnectorRoleMappingTarget_4050,
						ConnectorRoleMappingTargetEditPart.VISUAL_ID));
			}
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/getIncomingTypeModelFacetLinks_Unification_4051(
			SimpleElement target,
			Map/*[org.eclipse.emf.ecore.EObject, java.util.Collection<org.eclipse.emf.ecore.EStructuralFeature.Setting>]*/crossReferences) {
		LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/();
		Collection/*[org.eclipse.emf.ecore.EStructuralFeature.Setting]*/settings = (Collection) crossReferences
				.get(target);
		for (Iterator/*[org.eclipse.emf.ecore.EStructuralFeature.Setting]*/it = settings
				.iterator(); it.hasNext();) {
			EStructuralFeature.Setting setting = (EStructuralFeature.Setting) it
					.next();
			if (setting.getEStructuralFeature() != PiadladmanagementPackage.eINSTANCE
					.getConnection_Target()
					|| false == setting.getEObject() instanceof Unification) {
				continue;
			}
			Unification link = (Unification) setting.getEObject();
			if (UnificationEditPart.VISUAL_ID != PiADLADManagementMetamodelVisualIDRegistry
					.getLinkWithClassVisualID(link)) {
				continue;
			}
			SimpleElement src = link.getSource();
			result.add(new PiADLADManagementMetamodelLinkDescriptor(src,
					target, link,
					PiADLADManagementMetamodelElementTypes.Unification_4051,
					UnificationEditPart.VISUAL_ID));
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/getIncomingTypeModelFacetLinks_Relay_4052(
			SimpleElement target,
			Map/*[org.eclipse.emf.ecore.EObject, java.util.Collection<org.eclipse.emf.ecore.EStructuralFeature.Setting>]*/crossReferences) {
		LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/();
		Collection/*[org.eclipse.emf.ecore.EStructuralFeature.Setting]*/settings = (Collection) crossReferences
				.get(target);
		for (Iterator/*[org.eclipse.emf.ecore.EStructuralFeature.Setting]*/it = settings
				.iterator(); it.hasNext();) {
			EStructuralFeature.Setting setting = (EStructuralFeature.Setting) it
					.next();
			if (setting.getEStructuralFeature() != PiadladmanagementPackage.eINSTANCE
					.getConnection_Target()
					|| false == setting.getEObject() instanceof Relay) {
				continue;
			}
			Relay link = (Relay) setting.getEObject();
			if (RelayEditPart.VISUAL_ID != PiADLADManagementMetamodelVisualIDRegistry
					.getLinkWithClassVisualID(link)) {
				continue;
			}
			SimpleElement src = link.getSource();
			result.add(new PiADLADManagementMetamodelLinkDescriptor(src,
					target, link,
					PiADLADManagementMetamodelElementTypes.Relay_4052,
					RelayEditPart.VISUAL_ID));
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/getOutgoingFeatureModelFacetLinks_ConnectorMapping_Target_4043(
			ConnectorMapping source) {
		LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/();
		PConnector destination = source.getTarget();
		if (destination == null) {
			return result;
		}
		result.add(new PiADLADManagementMetamodelLinkDescriptor(
				source,
				destination,
				PiADLADManagementMetamodelElementTypes.ConnectorMappingTarget_4043,
				ConnectorMappingTargetEditPart.VISUAL_ID));
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/getOutgoingFeatureModelFacetLinks_ConnectorMapping_Source_4044(
			ConnectorMapping source) {
		LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/();
		Connector destination = source.getSource();
		if (destination == null) {
			return result;
		}
		result.add(new PiADLADManagementMetamodelLinkDescriptor(
				source,
				destination,
				PiADLADManagementMetamodelElementTypes.ConnectorMappingSource_4044,
				ConnectorMappingSourceEditPart.VISUAL_ID));
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/getOutgoingFeatureModelFacetLinks_ConnectorRoleMapping_Source_4045(
			ConnectorRoleMapping source) {
		LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/();
		Port destination = source.getSource();
		if (destination == null) {
			return result;
		}
		result.add(new PiADLADManagementMetamodelLinkDescriptor(
				source,
				destination,
				PiADLADManagementMetamodelElementTypes.ConnectorRoleMappingSource_4045,
				ConnectorRoleMappingSourceEditPart.VISUAL_ID));
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/getOutgoingFeatureModelFacetLinks_ComponentMapping_Source_4046(
			ComponentMapping source) {
		LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/();
		Component destination = source.getSource();
		if (destination == null) {
			return result;
		}
		result.add(new PiADLADManagementMetamodelLinkDescriptor(
				source,
				destination,
				PiADLADManagementMetamodelElementTypes.ComponentMappingSource_4046,
				ComponentMappingSourceEditPart.VISUAL_ID));
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/getOutgoingFeatureModelFacetLinks_ComponentPortMapping_Source_4047(
			ComponentPortMapping source) {
		LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/();
		Port destination = source.getSource();
		if (destination == null) {
			return result;
		}
		result.add(new PiADLADManagementMetamodelLinkDescriptor(
				source,
				destination,
				PiADLADManagementMetamodelElementTypes.ComponentPortMappingSource_4047,
				ComponentPortMappingSourceEditPart.VISUAL_ID));
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/getOutgoingFeatureModelFacetLinks_ComponentMapping_Target_4048(
			ComponentMapping source) {
		LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/();
		PComponent destination = source.getTarget();
		if (destination == null) {
			return result;
		}
		result.add(new PiADLADManagementMetamodelLinkDescriptor(
				source,
				destination,
				PiADLADManagementMetamodelElementTypes.ComponentMappingTarget_4048,
				ComponentMappingTargetEditPart.VISUAL_ID));
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/getOutgoingFeatureModelFacetLinks_ComponentPortMapping_Target_4049(
			ComponentPortMapping source) {
		LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/();
		PComponentPort destination = source.getTarget();
		if (destination == null) {
			return result;
		}
		result.add(new PiADLADManagementMetamodelLinkDescriptor(
				source,
				destination,
				PiADLADManagementMetamodelElementTypes.ComponentPortMappingTarget_4049,
				ComponentPortMappingTargetEditPart.VISUAL_ID));
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/getOutgoingFeatureModelFacetLinks_ConnectorRoleMapping_Target_4050(
			ConnectorRoleMapping source) {
		LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/();
		PConnectorRole destination = source.getTarget();
		if (destination == null) {
			return result;
		}
		result.add(new PiADLADManagementMetamodelLinkDescriptor(
				source,
				destination,
				PiADLADManagementMetamodelElementTypes.ConnectorRoleMappingTarget_4050,
				ConnectorRoleMappingTargetEditPart.VISUAL_ID));
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/getOutgoingTypeModelFacetLinks_Unification_4051(
			SimpleElement source) {
		Architecture container = null;
		// Find container element for the link.
		// Climb up by containment hierarchy starting from the source
		// and return the first element that is instance of the container class.
		for (EObject element = source; element != null && container == null; element = element
				.eContainer()) {
			if (element instanceof Architecture) {
				container = (Architecture) element;
			}
		}
		if (container == null) {
			return Collections.EMPTY_LIST;
		}
		LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/();
		for (Iterator/*[?]*/links = container.getUnifications().iterator(); links
				.hasNext();) {
			EObject linkObject = (EObject) links.next();
			if (false == linkObject instanceof Unification) {
				continue;
			}
			Unification link = (Unification) linkObject;
			if (UnificationEditPart.VISUAL_ID != PiADLADManagementMetamodelVisualIDRegistry
					.getLinkWithClassVisualID(link)) {
				continue;
			}
			SimpleElement dst = link.getTarget();
			SimpleElement src = link.getSource();
			if (src != source) {
				continue;
			}
			result.add(new PiADLADManagementMetamodelLinkDescriptor(src, dst,
					link,
					PiADLADManagementMetamodelElementTypes.Unification_4051,
					UnificationEditPart.VISUAL_ID));
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/getOutgoingTypeModelFacetLinks_Relay_4052(
			SimpleElement source) {
		Architecture container = null;
		// Find container element for the link.
		// Climb up by containment hierarchy starting from the source
		// and return the first element that is instance of the container class.
		for (EObject element = source; element != null && container == null; element = element
				.eContainer()) {
			if (element instanceof Architecture) {
				container = (Architecture) element;
			}
		}
		if (container == null) {
			return Collections.EMPTY_LIST;
		}
		LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/result = new LinkedList/*[org.admanager.piadladmapping.plugin.diagram.part.PiADLADManagementMetamodelLinkDescriptor]*/();
		for (Iterator/*[?]*/links = container.getRelays().iterator(); links
				.hasNext();) {
			EObject linkObject = (EObject) links.next();
			if (false == linkObject instanceof Relay) {
				continue;
			}
			Relay link = (Relay) linkObject;
			if (RelayEditPart.VISUAL_ID != PiADLADManagementMetamodelVisualIDRegistry
					.getLinkWithClassVisualID(link)) {
				continue;
			}
			SimpleElement dst = link.getTarget();
			SimpleElement src = link.getSource();
			if (src != source) {
				continue;
			}
			result.add(new PiADLADManagementMetamodelLinkDescriptor(src, dst,
					link, PiADLADManagementMetamodelElementTypes.Relay_4052,
					RelayEditPart.VISUAL_ID));
		}
		return result;
	}

}
